<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>


<a href="/img/1.jpg">图片1</a>
<hr>

<a href="/downloadServlet?filename=1.jpg">图片1</a>


</body>
</html>